﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:fat="clr-namespace:FastColoredTextBoxNS;assembly=FastColoredTextBox"
    xmlns:fars="clr-namespace:FarsiLibrary.Win;assembly=TabStrip"
    
    xmlns:properties="clr-namespace:MPE.Properties"
    xmlns:Forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
    x:Class="MPE.MainWindow"

    mc:Ignorable="d"
    Height="800" Width="1334.652" AllowDrop="True" WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown" KeyDown="Window_KeyDown" Closing="Window_Closing" Drop="Window_Drop">

    <Window.Resources >
        <Style x:Key="InformButton" TargetType="{x:Type Button}">
            <Setter Property="OverridesDefaultStyle" Value="True"/>
            <Setter Property="Margin" Value="2"/>
            <Setter Property="Foreground" Value="#FFEFF0F1"/>
            <Setter Property="FontFamily" Value="Segoe UI"/>
            <Setter Property="FontSize" Value="11px"/>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Border x:Name="border" BorderThickness="1" Padding="4,2" BorderBrush="#707070" CornerRadius="3" Background="{TemplateBinding Background}">
                            <Grid >
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="content"/>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#3CA8E1" />
                                <Setter Property="Background" Value="#31363B"/>
                            </Trigger>

                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Background" Value="#3DAEE9"/>
                                <Setter TargetName="content" Property="RenderTransform" >
                                    <Setter.Value>
                                        <TranslateTransform Y="1.0" />
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsDefaulted" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsFocused" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>

    <Grid x:Name="grid" Background="#232629">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="448" />
            <ColumnDefinition Width="554*"/>
            <ColumnDefinition Width="185*"/>
            <ColumnDefinition Width="{Binding codeMapSize, Source={x:Static properties:Settings.Default}}" MaxWidth="140"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="23" />
            <RowDefinition Height="629*"  />
            <RowDefinition Height="75*"/>
            <RowDefinition Height="26"/>
        </Grid.RowDefinitions>

        <Menu Height="25" Grid.Column="0" Grid.Row="0"  Grid.ColumnSpan="4" VerticalAlignment="Top" Grid.RowSpan="2">
            <MenuItem Header="Файл">
                <MenuItem x:Name="create" Header="Создать                   Ctrl+N" Click="Create_Click"/>
                <MenuItem x:Name="open" Header="Открыть                  Ctrl+O" Click="Open_Click"/>
                <MenuItem x:Name="save" Header="Сохранить               Ctrl+S" Click="Save_file"/>
                <MenuItem x:Name="save_as" Header="Сохранить как        Ctrl+Shift+S" Click="Save_as_Click"/>
                <MenuItem x:Name="reload_file" Header="Переоткрыть файл Ctrl+Shift+R" Click="Reload_file_Click"/>
                <MenuItem x:Name="close_file" Header="Закрыть файл          Ctrl+Alt+Q" Click="close_file_Click"/>
                <MenuItem x:Name="oldTasks" Header="Ранее открытые" />
                <Separator />
                <MenuItem x:Name="Exit" Header="Выход                      Alt+F4" Click="Exit_Click"/>
            </MenuItem>
            <MenuItem Header="Правка" >
                <MenuItem x:Name="findWindow" IsEnabled="True"  Header="Поиск                                    Ctrl+F" Click="FindWindow_Click"/>
                <MenuItem x:Name="replaceWindow" IsEnabled="True" IsChecked="False"  Header="Замена                                  Ctrl+Shift+F" Click="ReplaceWindow_Click"/>
                <MenuItem x:Name="fieldFormatter" IsEnabled="True"  Header="Выровнять код                     Ctrl+Q" Click="FieldFormatter_Click" />
                <MenuItem x:Name="duplicateText" IsEnabled="True"  Header="Дублировать текст               Ctrl+D" Click="DuplicateText_Click" />
                <MenuItem x:Name="textCommentingCB" IsEnabled="True"  Header="Закомментрировать код     Ctrl+E" Click="TextCommenting" />
                <MenuItem x:Name="dellTextCommentingCB" IsEnabled="True"  Header="Раскомментировать код     Ctrl+Shift+E" Click="DellTextCommenting" />
            </MenuItem>
            <MenuItem Header="Вид">
                <MenuItem x:Name="showErrorsCB" IsChecked="{Binding isErrorList, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Список ошибок    Ctrl+K" Click="ShowErrorsCB_Click" />
                <MenuItem x:Name="codeMapCB" IsChecked="{Binding isCodeMap, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Карта кода            Ctrl+L" Click="CodeMapCB_Click" />
                <MenuItem x:Name="commandCB" IsChecked="{Binding isCommands, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Боковая панель    Ctrl+J" Click="CommandCB_Click" />
                <MenuItem x:Name="lineNumbersCB" IsChecked="{Binding isLineNumeric, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Нумерация строк Ctrl+P" Click="LineNumbersCB_Click" />
                <MenuItem x:Name="commandTipsCB" IsChecked="{Binding isCommandTips, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Панель подсказок" Click="CommandTips_Click"/>
                <MenuItem x:Name="stateLineCB" IsChecked="{Binding isStateLine, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Строка состояния" Click="StateLineCB_Click"/>
                <MenuItem x:Name="showCurrlineColorCB" IsChecked="{Binding isFieldCurrLineColored, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Выделять текущую строку" Click="ShowCurrlineColorCB_Click"/>

                <MenuItem x:Name="syntaxHighlighting" IsChecked="{Binding isSyntaxHighlighting, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Подстветка синтаксиса Ctrl+M" Click="syntaxHighlighting_Click"/>

                <MenuItem x:Name="Colors" IsCheckable="False" Header="Цвета                     ~" ToolTip="Изменить подсветку синтаксиса" Click="Colors_Click"/>
                <MenuItem x:Name="IndentSettings" IsCheckable="False" Header="Настройка отступов" ToolTip="Изменить отступы для блоков при выравнивании кода" Click="IndentSettings_Click"/>
                <MenuItem x:Name="ErrorsSettings" IsCheckable="False" Header="Настройка анализатора ошибок" ToolTip="Настроить правила определения ошибок" Click="ErrorsSettings_Click"/>
                <Separator />
                <Button x:Name="zoomIn"  Content="Увеличить          Ctrl++" ToolTip="Увеличить шрифт" Click="ZoomIn_Click" Width="134" />
                <Button x:Name="zoomOut" Content="Уменьшить       Ctrl+-" ToolTip="Уменьшить шрифт" Click="ZoomOut_Click" Width="134" />
            </MenuItem>
            <MenuItem x:Name="Settings" Header="Настройки" ToolTip="Горячая клавиша F5" Click="Settings_Click"/>
        </Menu>
        <TextBox x:Name="commandsToolTip" Grid.Column="0" Grid.Row="2" Grid.RowSpan="2" TextWrapping="Wrap" AcceptsReturn="True" IsReadOnly="True" IsReadOnlyCaretVisible="True" VerticalScrollBarVisibility="Auto" Background="#FF232629" Foreground="#FFEFF0F1" Margin="0,0,1,0" FontSize="14" Text="                Добро пожаловать в MPE(miniPosterEditor)!&#xA;Чтобы открыть файл со скриптом [Ctrl+O или Файл=&gt;Открыть].&#xA;Настройка внешнего вида на вкладке Вид.&#xA;Полный список возможностей MPE описан на сайте https://github.com/Medoo48/miniPosterEditor/wiki/miniPosterEditor-Wiki"/>

        <TabControl x:Name="commandsControl" Grid.Column="0" Grid.Row="1" Background="#31363B" BorderBrush="#FF76797C">
            <TabItem Header="Global Vars" Background="#54575B" >
                <Grid>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="42" Margin="22,14,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_LOGIN" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_EMAIL" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="105,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PASS" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="200,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_NAME" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="289,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Autorization" Margin="160,-1,180,0" Background="#31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="139" Margin="22,71,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMID" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,5,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMR" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="106,6,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMZ" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="197,6,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_BITCOIN_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="259,32,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PAYEER" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,31,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PERFECT_MONEY" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="110,32,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PAYPAL" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="288,6,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_DASH_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="172,58,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_BCH_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,110,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_DOGECOIN_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="163,84,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_ETHEREUM_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,58,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_LITECOIN_WALLET" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,84,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Wallet" Margin="160,56,180,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center" Height="21"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="69" Margin="22,225,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_RUCAPTCHA_KEY" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$_GLOBAL_1" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="159,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                            <Button Style="{StaticResource InformButton}" Content="$_GLOBAL_2" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="242,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_CAPMONSTER_IP" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_CAPMONSTER_KEY" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="159,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Another" Margin="160,210,180,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="97" Margin="22,309,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$SIZE_BUFFER" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$REQUEST_DATA" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="93,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$MODEL_NAME" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="190,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$captcha" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="283,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$bool" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="352,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$DATE" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$TIME" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="56,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$IT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="101,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$WORK_TIME" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="131,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$result" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="352,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$count" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,64,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$_GLOBAL_SERVER_PORT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="212,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$_TEMPLATE_ID" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="59,65,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$current_path" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="150,65,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Global Var" Margin="158,294,178,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="75" Margin="22,434,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="HTTP" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="HTTPS" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="56,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SOCKS5" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="103,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="REPORT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="157,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="CONNECT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="217,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="READ_UNSEEN_LETTER" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="281,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SPECIAL_CHAR" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="NUMBER" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="101,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="CHAR" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="160,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="UPPER_CHAR" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="203,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SET_NULL" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="283,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Global Define" Margin="160,419,180,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="40" Margin="22,532,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_EXIT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_REPEAT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="84,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_CONTINUE" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="173,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Settings" Margin="158,517,178,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="Other" Background="#54575B">
                <Grid>
                    <TabControl Background="#31363B" BorderBrush="#FF76797C" Margin="10,10,0,0" Height="272" VerticalAlignment="Top">
                        <TabItem Header="Парсинг" Background="#54575B">
                            <Grid>
                                <Button Style="{StaticResource InformButton}" Content="[PARSE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[REG_PARSE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="60,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[PARSE_JSON]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="137,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="Буфер" Background="#54575B">
                            <Grid>
                                <Button Style="{StaticResource InformButton}" Content="[DISPLAY_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="103"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="116,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SORT_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="210,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[USE_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="299,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COMPARE_WITH_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ADD_IN_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="154,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOCAL_QUEUE_POP]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOCAL_QUEUE_PUSH]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="126,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOCAL_QUEUE_CLEAR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="249,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOCAL_QUEUE_SIZE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOCAL_QUEUE_PUSH_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="128,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GLOBAL_QUEUE_PUSH]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="136,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GLOBAL_QUEUE_POP]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GLOBAL_QUEUE_CLEAR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="268,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GLOBAL_QUEUE_PUSH_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="136,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GLOBAL_QUEUE_SIZE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="Строки" Background="#54575B">
                            <Grid>
                                <Button Style="{StaticResource InformButton}" Content="[TO_BASE64]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FROM_BASE64]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="87,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[IS_NUMERIC]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="180,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[TRIMMED]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="263,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[RAND]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="333,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[STR_TO_UTF8]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[STR_REPLACE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="98,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[STR_LEN]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="185,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SPLIT_STR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="248,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GET_CHAR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="318,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_TEXT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[UPP_LOW_STR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="87,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[URL_DECODE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="181,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[URL_ENCODE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="268,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[HASH]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="356,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="Числа" Background="#54575B">
                            <Grid>
                                <Button Style="{StaticResource InformButton}" Content="[MATH]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[TO_FIXED]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="60,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FLOOR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="127,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[RAND]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="182,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                    </TabControl>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="66" Margin="10,302,0,0" VerticalAlignment="Top">
                        <Grid Margin="0,0,-22,0">
                            <Button Style="{StaticResource InformButton}" Content="[IF]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ELSE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="38,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ENDIF]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="91,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[BREAK_POINT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="152,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GO_TO_BREAK_POINT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="252,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[INCLUDE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Conditional operators" Margin="147,287,165,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="130" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="156" Margin="10,411,0,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[...]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="28"/>
                            <Button Style="{StaticResource InformButton}" Content="{}{{ }}" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="44,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EXIT_TASK]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="163,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[REPEAT_TASK]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="234,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SLEEP]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[VERSION]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="320,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_MODEL_SETTINGS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="60,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_INCOM]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="192,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CBROWSER_COMMAND]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertThreeBracketsWord" Margin="271,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EVALUATE_JS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[JS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="98,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[/JS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="129,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DISPLAY_REQUEST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="170,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[LOG_DISPLAY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="75,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DISPLAY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="165,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_TEMPLATE_MEMORY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="228,62,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EXEC_SQL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[VAR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="80,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[MUTEX]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertThreeBracketsWord" Margin="127,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[STATIONARY_CBROWSER_COMMAND]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="186,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GDATE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GEN_PASSWORD]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="65,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_REQUEST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="282,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PARSE JSON]" Margin="254,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="False" Opacity="0.1"/>
                        </Grid>
                    </Border>
                    <Label Content="Other" Margin="191,396,191,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="56" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="System" Background="#54575B">
                <Grid>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="211" Margin="22,19,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[WRITE_IN_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="87"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_TO_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="105,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[READ_FILE_ALL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="191,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[READ_FILE_LINE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="285,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[WRITE_BUFFER_IN_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SAVE_CLEAR_REQUEST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="143,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELETE_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="275,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COPY_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RENAME_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="82,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[MOVE_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="170,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FILE_EXISTS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="246,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CREATE_DIR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELETE_DIR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="90,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RENAME_DIR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="170,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FOLDER_EXISTS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="256,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FROM_BASE64_TO_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FROM_FILE_TO_BASE64]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="145,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[READ_BINARY_LINE_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CREATE_BINARY_LINE_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="150,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FIND_IN_BINARY_LINE_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,167,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COUNT_LINE_IN_BINARI_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="163,167,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="File Function" Margin="168,4,178,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="92" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="42" Margin="22,274,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[OPEN_URL_IN_LOCAL_BROWSER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RUN_FILE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="190,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COPY_TO_CLIPBOARD]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="258,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="System" Margin="158,259,178,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="Captcha" Background="#54575B">
                <Grid>
                    <TabControl x:Name="commandControl_Copy" HorizontalAlignment="Left" Height="581" VerticalAlignment="Top" Width="442" Background="#FF31363B" BorderBrush="#FF76797C" Margin="0,-2,0,0" >
                        <TabItem Header="other" Background="#54575B" >
                            <Grid Background="#31363B">
                                <Border BorderBrush="#FF76797C" BorderThickness="1" Height="71" Margin="10,136,15,0" VerticalAlignment="Top">
                                    <Grid>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_BLACK_END]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_CIRCUIT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="120,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_WIDTH]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="206,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_SHADES]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="293,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_CIRCUIT_EX]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="105"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_SHADES_EX]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="120,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SET_SPLIT_EX_FILTER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="229,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                    </Grid>
                                </Border>
                                <Label Content="Split" Margin="155,121,214,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="67" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOAD_CAPTCHA]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="15,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SAVE_CAPTCHA]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="116,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CONVERT_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="214,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GET_IMAGE_FROM_ARRAY_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="15,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DELL_IMAGE_FORM_ARRAY_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="192,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SET_IMAGE_TO_ARRAY_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="15,69,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ARRAY_TO_IMAGE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="173,69,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DISPLAY_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="17,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DISPLAY_ARRAY_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="104,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="$IMG_ARRAY_COUNT" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="228,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COMPARE_IMAGES]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="17,267,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GET_IMAGE_INFO]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="131,267,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ENTER_CAPTCHA]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="17,293,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="ENTER RECAPTCHA`" Margin="122,293,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="False" Opacity="0.1"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="filters" Background="#54575B">
                            <Grid Background="#31363B" Margin="0,0,-3,0">
                                <Border BorderBrush="#FF76797C" BorderThickness="1" Height="66" Margin="12,209,20,0" VerticalAlignment="Top">
                                    <Button Style="{StaticResource InformButton}" Content="[COMPRESS_SHADES]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="118"/>
                                </Border>
                                <Label Content="Shades" Margin="175,194,189,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="75" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_TRANSPARENT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COLOR_TRESHOLD]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="140,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_INTERFERENCE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="253,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CHANGE_COLOR_IF_NOT_THIS_COLOR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="11,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_GRADIENT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="220,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_LINES]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="329,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[APPLY_NEGATIVE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="11,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SEAL_MICROCRACKS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="116,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[RGB_COLOR_TRESHOLD]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="240,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CHANGE_COLOR_ON_COLOR]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="11,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_PIXEL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="175,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ONE_OF_RGB_TO_BLACK]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="253,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ALIGN_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="12,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ALIGN_IMG_ARRAY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="92,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CROP]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="211,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CROP_ALL_SIDE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="260,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COPY_IMAGE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="12,149,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CUT_GRID]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="98,149,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="model" Background="#54575B">
                            <Grid Background="#31363B">
                                <Button Style="{StaticResource InformButton}" Content="[START_MAKE_MODEL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="10,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[END_MAKE_MODEL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="136,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COMPLETE_MAKE_MODEL]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="254,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_ARRAY_IMG_IN_MODEL_LIST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="readers" Background="#54575B">
                            <Grid Background="#31363B">
                                <Button Style="{StaticResource InformButton}" Content="[RUCAPTCHA]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CAPTCHA_PROEVOLITION]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="93,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[TESSERACT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="245,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_IMG_LIST_ON_IMG]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="10,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                    </TabControl>
                </Grid>
            </TabItem>
            <TabItem Header="Get\Post+Proxy" Background="#54575B">
                <Grid>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="70" Margin="22,19,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[GET]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[POST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="49,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PUT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="97,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[POST_MULTIPART]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertThreeBracketsWord" Margin="195,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PASS_CLOUDFLARE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="228,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_GET]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_POST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="80,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_PUT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="157,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELETE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="138,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Send Requers" Margin="160,4,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="113" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="145" Margin="22,120,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[SET_USER_AGENT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="102"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_REFERER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="115,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_HOST]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="204,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COOKIE_TO_BUFFER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="279,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_TIMEOUT]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="9,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[REQUEST_TO_UTF]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="98,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_COOKIE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="9,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_ALL_COOKIES]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="90,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COPY_COOKIE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="213,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SAVE_COOKIE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="304,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[LOAD_COOKIE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="9,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_HEADER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="101,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_TEMPORARY_HEADER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="192,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELL_ADDED_HEADER]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_ADDED_HEADERS]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="141,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_KEEP_ALIVE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="285,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Modifi Headers" Margin="160,105,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="113" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="66" Margin="22,299,10,0" VerticalAlignment="Top">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[USE_PROXY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertTwoBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="73"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELL_PROXY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="86,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_PHP_GATE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="169,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[UNSET_PHP_GATE]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertWord" Margin="262,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[TOR_NEW_IDENTITY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ON_OFF_PROXY]" ToolTip="" ToolTipOpening="Button_ToolTipOpening" Click="InsertOneBracketsWord" Margin="130,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Proxy" Margin="184,284,195,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="63" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="Tools" Background="#54575B">
                <Grid>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="107" Margin="0,30,10,0" VerticalAlignment="Top">
                        <Grid>
                            <TextBox x:Name="inputFileName" Margin="4,31,100,52"/>
                            <Label Content="Преобразовать строковый файл в бинарный:" Margin="0,0,160,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="266" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                            <Button x:Name="ChooseFileToBinaryTransform" Style="{StaticResource InformButton}" Content="Выбрать файл" Click="ChooseFileToBinaryTransform_Click"  Margin="335,31,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90"/>
                            <Button x:Name="MakeBinaryTransform" Style="{StaticResource InformButton}" Content="Преобразовать" Click="MakeBinaryTransform_Click"  Margin="4,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="36"/>
                            <Label Content="(Выбранный файл будет преобразован в бинарный файл&#xA;c таким же именем и раширением .dat)" Margin="92,60,0,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="334" Foreground="#FFEFF0F1"/>
                        </Grid>
                    </Border>
                    <Label  Content="Binary Transform" Margin="158,9,167,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="113" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="73" Margin="3,157,12,0" VerticalAlignment="Top">
                        <Grid>
                            <Label Content="Преобразует cookies экспортированные&#xA;из плагина EditThisCookies в шаблонный вид&#xA;Берет куки из буфера обмена и туда же сохраняет" Margin="103,5,0,0" Background="#FF31363B" VerticalAlignment="Top" Width="300" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center" Height="61" HorizontalAlignment="Left"/>
                            <Button x:Name="CookiesTransform" Style="{StaticResource InformButton}" Content="Cookies Transform" Click="CookiesTransform_Click" Margin="4,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="102" Height="48"/>

                        </Grid>
                    </Border>
                    <Label Content="Cookies Transform to model" Margin="139,142,130,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="169" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="70" Margin="5,269,27,0" VerticalAlignment="Top">
                        <Grid>
                            <Label Content="Экранировать ковычки для функций [REG__PARSE] и [EVALUATE__JS].&#xA;Данные берет из буфера обмена и туда же сохраняет результат" Margin="0,0,10,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="394" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                            <Button x:Name="makeBracketsSpecularly" Style="{StaticResource InformButton}" Content="Экранировать" Click="MakeBracketsSpecularly_Click" ToolTip="Горячая клавиша Ctrl+W" Margin="10,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="Bold" Width="384"/>
                        </Grid>
                    </Border>
                    <Label Content="Character escaping" Margin="153,251,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="116" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C" BorderThickness="1" Height="70" Margin="5,380,27,0" VerticalAlignment="Top">
                        <Grid>
                            <Label Content="Преобразовать HTTP заголовки в шаблонный вид.&#xD;&#xA;Данные берет из буфера обмена и туда же сохраняет результат" Margin="0,0,10,0" Background="#FF31363B" HorizontalAlignment="Center" Width="394" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center" VerticalAlignment="Top"/>
                            <Button x:Name="Headers_to_Template" Style="{StaticResource InformButton}" Content="Преобразовать" Click="Headers_to_Template_Click" ToolTip="Горячая клавиша Ctrl+T" Margin="10,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="Bold" Width="384"/>
                        </Grid>
                    </Border>
                    <Label Content="Header Transform" Margin="157,363,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="116" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
           
        </TabControl>

        <WindowsFormsHost x:Name="codeMapProvider" Grid.Row="1" Grid.Column="3" Grid.RowSpan="4" MaxWidth="140">
            <fat:DocumentMap x:Name="codeMap" ForeColor="gray" BackColor="Black"/>
        </WindowsFormsHost>

        <WindowsFormsHost x:Name="fieldProvider" Grid.Row="1" Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="2" Background="Gray">
            <fars:FATabStrip x:Name="Tabs" TabStripItemSelectionChanged="Tabs_TabStripItemSelectionChanged"  TabStripItemClosing="Tabs_TabStripItemClosing" />
        </WindowsFormsHost>

        <Grid x:Name="stateGrid" Grid.Row="4" Grid.Column="1" Background="Gray" Grid.ColumnSpan="2">
            <Label Content="Строка" Margin="47,0,0,0" HorizontalAlignment="Left" Width="50"/>
            <Label x:Name="strField" Margin="104,0,0,0" HorizontalAlignment="Left" Width="64" Content="0"/>
            <Label Content="Столбец" Margin="173,0,0,0" HorizontalAlignment="Left" Width="60"/>
            <Label x:Name="colField" Margin="233,0,0,0" HorizontalAlignment="Left" Width="66" Content="0"/>

            <Label x:Name="needSaveL" Visibility="Hidden" Content="Нужно сохранить файл" Margin="314,0,0,0" HorizontalAlignment="Left" Width="156"/>
            <Label x:Name="errorCount" Visibility="Hidden" Content="Обнаружено 0 ошибок" HorizontalAlignment="Left" Margin="475,0,0,0" VerticalAlignment="Top" Foreground="#FFC2FF3E"/>
        </Grid>
    </Grid>
</Window>